package com.lucas.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@FeignClient(name = "lagou-server-user")
public interface UserService {

    @RequestMapping("/register/{email}/{password}/{code}")
    Map<String,Object> register(@PathVariable String email,@PathVariable String password,@PathVariable String code);

}
